﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace TileMapEditor
{
    [CreateAssetMenu(fileName = "New Effect", menuName = "六边形地图编辑/效果", order = 2)]
    [System.Serializable]
    public class Effect : ScriptableObject
    {
        public int id;
        [HideInInspector]
        public bool onlyClient;
        public int type = 0;
        public int relatedId;
        //[SerializeField]
        //public List<Effect> nextEffects;

        public string stringParam;
        //[HideInInspector]
        [SerializeField]
        public List<int> intParams;
        [HideInInspector]
        public string exportStr;

        public static string[] EffectTypeNames = EnumParser.GetEnumDescriptions(typeof(EffectType));
        public static int[] EffectTypes = EnumParser.GetEnumValues(typeof(EffectType));
    }
}